package com.yenlien.traceyun.business.dao;

import com.yenlien.traceyun.business.entity.MaterialManagement;
import com.yenlien.traceyun.webase.dao.BaseJpaDao;

import java.util.List;

public interface MaterialManagementDao extends BaseJpaDao<MaterialManagement> {

    List<MaterialManagement> findByMaterialName(String materialName);

    List<MaterialManagement> findByMaterialTypeAndMaterialName(String materialType, String materialName);

    List<MaterialManagement> findByMaterialType(String materialType);


    List<MaterialManagement> findByCompanyId(String companyId);

}
